﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true"
    CodeFile="ResetPassword.aspx.cs" Inherits="Modules_Security_ResetPassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="c" runat="Server">
    <div class="cph1" style="margin: 0 auto; width: 1020px;">
        <div style="width: 200px; float: left; padding-top: 26px; margin-right: 20px;">
        </div>
        <div style="width: 800px; float: left">
            <br />
            <br />
            <table id="ctl00_MainContent_ChangePassword1" cellspacing="0" cellpadding="0" style="background-color: #F7F6F3;
                border-color: #E6E2D8; border-width: 1px; border-style: Solid; font-family: Verdana;
                border-collapse: collapse;">
                <tbody>
                    <tr>
                        <td>
                            <table cellpadding="4" cellspacing="0" style="border-collapse: collapse;">
                                <tbody>
                                    <tr>
                                        <td>
                                            <table cellpadding="0">
                                                <tbody>
                                                    <tr>
                                                        <td align="center" colspan="2" style="color: White; background-color: #5D7B9D; font-weight: bold;">
                                                            Phục hồi mật khẩu
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">
                                                            Tên đăng nhập:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="ReqUserName" runat="server" ControlToValidate="txtUserName"
                                                                ErrorMessage="*" ToolTip="*" ValidationGroup="ChangePassword1">*</asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">
                                                            Mật khẩu mới:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="NewPassword" runat="server" TextMode="Password"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="NewPasswordRequired" runat="server" ControlToValidate="NewPassword"
                                                                ErrorMessage="New Password is required." ToolTip="New Password is required."
                                                                ValidationGroup="ChangePassword1">*</asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">
                                                            Nhập lại mật khẩu:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="ConfirmNewPassword" runat="server" TextMode="Password"></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="ConfirmNewPasswordRequired" runat="server" ControlToValidate="ConfirmNewPassword"
                                                                ErrorMessage="Confirm New Password is required." ToolTip="Confirm New Password is required."
                                                                ValidationGroup="ChangePassword1">*</asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="center" colspan="2">
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="center" colspan="2" style="color: Red;">
                                                            <asp:CompareValidator ID="NewPasswordCompare" runat="server" ControlToCompare="NewPassword"
                                                                ControlToValidate="ConfirmNewPassword" Display="Dynamic" ErrorMessage="Mật khẩu nhập lại không trùng khớp mật khẩu mới."
                                                                ValidationGroup="ChangePassword1"></asp:CompareValidator>
                                                            <asp:Label ID="lblresult" runat="server"></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">
                                                        </td>
                                                        <td>
                                                            <asp:Button ID="ResetPasswordButton" runat="server" BackColor="#FFFBFF" BorderColor="#CCCCCC"
                                                                BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" ForeColor="#284775"
                                                                Text="Đổi mật khẩu" ValidationGroup="ChangePassword1" OnClick="ResetPasswordButton_Click" />
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</asp:Content>
